#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DBObserverCenter : NSObject

+(instancetype)shareInstance;

typedef void (^DLObserverBlock)(id object);

-(void)addObserver:(NSObject *)observer performSelector:(SEL)aSelector;

-(void)addObserver:(NSObject *)observer block:(DLObserverBlock)block;

-(void)sendMsg:(id)msg;

@end

NS_ASSUME_NONNULL_END
